<?php
// +----------------------------------------------------------------------
// | Yzncms [ 御宅男工作室 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://yzncms.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 御宅男 <530765310@qq.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 全局路由
// +----------------------------------------------------------------------
//use think\facade\Route;onMessageSend1

//---------------------------------Index------------------------------------
//Route::rule('upload_img', 'app/Index/upload_img'); //上传文件
Route::rule('upload_video', 'app/Index/upload_video'); //上传视频
//Route::rule('upload_img2', 'app/Index/upload_img2'); //上传图片 并压缩
Route::rule('upload_img', 'app/Index/upload_img2'); //上传文件 并压缩

Route::rule("getConfigAdmin", 'app/Index/getConfigAdmin');//获取各项配置

Route::rule("addShop", 'app/Index/addShop');//申请商家

Route::rule("shopStatus", 'app/Index/shopStatus');//获取商家审核状态

Route::rule("getBanner", 'app/Index/getBanner');//获取员工banner图
Route::rule("getBanner2", 'app/Index/getBanner2');//获取商家banner图

Route::rule("wxLogin", 'app/Index/wxLogin');//获取openid

Route::rule("login1", 'app/Index/login1');//员工账号登录

Route::rule("getAccountByOpenid", 'app/Index/getAccountByOpenid');//openid 是否绑定账号 和绑定账号的信息

Route::rule("loginTypeRole", 'app/Index/loginTypeRole');//多角色选择登录

Route::rule("getQuestion", 'app/Index/getQuestion');//获取常见问题

Route::rule("getAddressByLocation2", 'app/Index/getAddressByLocation');//通过坐标获取位置信息

Route::post("memberInfo", 'app/Index/member_info');//获取账户信息

Route::post("getMemberListByOpenid", 'app/Index/getMemberListByOpenid');//获取绑定的账号

Route::post("getMemberToken", 'app/Index/getMemberToken');//通过获取Member的token

Route::rule("isOne", 'app/Index/isOne');//判断手机号是否唯一



//------------------------------------Shop 商家-------------------------------------
Route::rule("indexData1Shop", 'app/Shop/indexData1');//首页数据统计

Route::rule("indexData2Shop", 'app/Shop/indexData2');//未审核数量 驳回数量

Route::rule("indexOrderShop", 'app/Shop/indexOrder');//未审核数量列表 已驳回列表

Route::rule("openSim", 'app/Shop/openSim');//开卡

Route::rule("orderListShop", 'app/Shop/orderList');//开卡订单列表

Route::rule("orderDetailShop", 'app/Shop/orderDetail');//订单详情

Route::rule("boardNum", 'app/Shop/boardNum');//白卡库存数量

Route::rule("boardListShop", 'app/Shop/boardList');//白卡列表

Route::rule("applyBoard", 'app/Shop/applyBoard');//申请白卡

Route::rule("applyList", 'app/Shop/applyList');//白卡申请记录

Route::rule("applyDetail", 'app/Shop/applyDetail');//白卡申请详情

Route::rule("accountShop", 'app/Shop/accountShop');//账户中心

Route::rule("gdJlList", 'app/Shop/gdJlList');//订单奖励列表

Route::rule("nowTx", 'app/Shop/nowTx');//当月已提现金额

Route::rule("shopTx", 'app/Shop/shopTx');//余额提现

Route::rule("txMoneyShop", 'app/Shop/txMoneyShop');//共提现金额

Route::rule("txList", 'app/Shop/txList');//提现记录

Route::rule("editShopInfo", 'app/Shop/editShopInfo');//修改商家信息

Route::rule("kbSh", 'app/Shop/kbSh');//申请卡板收货

Route::rule("editSimOrder", 'app/Shop/editSimOrder');//编辑卡板信息

Route::rule("noticeListShop", 'app/Shop/noticeList');//通知列表

Route::rule("noticeDetailShop", 'app/Shop/noticeDetail');//获取通知详情

Route::rule("wdMsgShop", 'app/Shop/wdMsg');//商家未读消息

Route::rule("qlShop", 'app/Shop/ql');//店铺消息清零


Route::rule("shopMsgList1", 'app/Shop/shopMsgList1');//店铺聊天记录

Route::rule("sendMsgShop", 'app/Shop/sendMsgShop');//店铺联系平台发送消息

Route::rule("shopMsgList2", 'app/Shop/shopMsgList2');//店铺聊天记录-通知相关

Route::rule("send2MsgShop", 'app/Shop/send2MsgShop');//发送消息-通知相关

Route::rule("setShopInfo", 'app/Shop/setShopInfo');//设置账户信息 手机号

Route::rule("setShopPassword", 'app/Shop/setPassword');//设置账号密码




//------------------------member-------------------------------
Route::rule("indexData1", 'app/Member/indexData1');//数据统计

Route::rule("indexData2", 'app/Member/indexData2');//下属门店开卡统计

Route::rule("indexShopList", 'app/Member/indexShopList');//门店排名

Route::rule("orderListMember", 'app/Member/orderList');//开卡订单

Route::rule("shopList", 'app/Member/shopList');//下属门店列表

Route::rule("shopInfo", 'app/Member/shopInfo');//店铺信息

Route::rule("shopOrderList", 'app/Member/shopOrderList');//店铺订单记录

Route::rule("kbDate", 'app/Member/kbDate');//订单记录上面 开卡数量、白卡库存

Route::rule("shopShList", 'app/Member/shopShList');//门店审核列表

Route::rule("shopShDetail", 'app/Member/shopShDetail');//门店审核详情

Route::rule("accountMember", 'app/Member/accountMember');//账户中心

Route::rule("txListMember", 'app/Member/txList');//提现记录

Route::rule("nowTx2", 'app/Member/nowTx2');//可提现金额 当月已提现金额

Route::rule("memberTX", 'app/Member/memberTX');//提现

Route::rule("txMoneyMember", 'app/Member/txMoneyMember');//提现记录共提现

Route::rule("orderDetailMember", 'app/Member/orderDetail');//订单详情

Route::rule("getSalespersonInfo", 'app/Member/getSalespersonInfo');//用户信息

Route::rule("noticeListMember", 'app/Member/noticeList');//通知列表

Route::rule("noticeDetailMember", 'app/Member/noticeDetail');//获取通知详情

Route::rule("wdMsgSa", 'app/Member/wdMsg');//业务未读消息

Route::rule("qlMember", 'app/Member/ql');//消息清零


Route::rule("saleMsgList1", 'app/Member/saleMsgList1');//业务员聊天记录

Route::rule("sendMsgSale", 'app/Member/sendMsgSale');//业务员联系平台发送消息

Route::rule("saleMsgList2", 'app/Member/saleMsgList2');//获取通知发送消息列表

Route::rule("send2MsgSale", 'app/Member/send2MsgSale');//发送关于通知的消息

Route::rule("setSaleInfo", 'app/Member/setSaleInfo');//设置账户信息


//{:config('site.kb_import_model')}
//------------------------------列表---------------------------------
Route::rule("index1", 'app/Index/index1');

Route::rule("index2", 'app/Index/index2');

Route::rule("index3", 'app/Index/index3');

Route::rule("index4", 'app/Index/index4');

Route::rule("index5", 'app/Index/index5');

Route::rule("index6", 'app/Index/index6');

Route::rule("index7", 'app/Index/index7');

Route::rule("index8", 'app/Index/index8');

Route::rule("index9", 'app/Index/index9');

Route::rule("index9_2", 'app/Index/index9_2');

Route::rule("index10", 'app/Index/index10');

Route::rule("index11", 'app/Index/index11');//沉默门店数据排名

Route::rule("areaList", 'app/Index/areaList');

//------------------------------后台订单---------------------------------
Route::rule("adminOrderList", 'app/Index2/adminOrderList'); //订单列表

Route::rule("packList", 'app/Index2/packList'); //套餐列表

Route::rule("orderDetail", 'app/Index2/orderDetail'); //获取订单详情

Route::rule("kfshStatus", 'app/Index2/kfshStatus'); //客服审核

Route::rule("cwstatus", 'app/Index2/cwstatus'); //财务审核

Route::rule("ycedit", 'app/Index2/ycedit'); //异常处理

//------------------------------首页---------------------------------

Route::rule("cIndex", 'app/Index/cIndex'); //Cindex2

Route::rule("cIndex2", 'app/Index/cIndex2'); //Cindex2

Route::rule("cIndex3", 'app/Index/cIndex3'); //cIndex3

Route::rule("getbar", 'app/Index/getbar'); //getbar

Route::rule("getbar2", 'app/Index/getbar2'); //getbar2
//------------------------------业务员新增---------------------------------
Route::rule("shopList2", 'app/Member/shopList2');//数据统计--发展门店

Route::rule("indexOrderList", 'app/Shop/indexOrderList');//首页数据统计--开卡数量

Route::rule("editShopRemark", 'app/Member/editShopRemark');//编辑门店备注

Route::rule("shopListnOrder", 'app/Member/shopListnOrder');//下属门店列表没订单

//-----------------------------店铺编辑新增--------------------------------
Route::rule("getShopInfo", 'app/Shop/getShopInfo');//获取店铺信息
Route::rule("setShopInfo2", 'app/Shop/setShopInfo2');//补齐店铺信息


Route::rule("ccshop", 'app/Index/ccshop'); //ccshop

Route::rule("ccshop2", 'app/Index/ccshop2'); //ccshop






